package com.fulihui.wgj.shutdown.listener;

import com.fulihui.wgj.shutdown.event.ShutdownSignalEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * 模板消息发送监听
 *
 * @author: Levon
 * @date: 2018-06-29 15:25
 */
@Component
public class SendTemplateMsgListener extends CommonListener implements ApplicationListener<ShutdownSignalEvent> {

    @Override
    public void onApplicationEvent(ShutdownSignalEvent shutdownSignalEvent) {
        LOGGER.info("on shutdown event. close send template message begin.");
    }
}
